package com.ruoyi.web.sso.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>
 * 用户和角色关联表
 * </p>
 *
 * @author cdd
 * @since 2021-10-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class StaffRoleList implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @ApiModelProperty(value="用户ID",required=true)
    @NotBlank(message = "字段不能为空")
    private String staffId;

    /**
     * 角色ID
     */
    @ApiModelProperty(value="角色ID",required=true)
    @NotBlank(message = "字段不能为空")
    private String roleId;


    @ApiModelProperty(value="角色名称" ,required=true)
    @NotBlank(message = "字段不能为空")
    private String roleName;


}
